#!/bin/bash

num="1"

role=$1

while [ $num -eq "1"  ]
do
#     num=`jps | grep "$role" | wc -l`
     sleep 1
done

exit 1
